package util;

public class Page {
    //totalCount 总行数 查询记录数
    private int totalCount;

// totalPage 总页数 考虑到是否能整除 总行数/pageSize : 总行数/pageSize+1
    private int totalPage;
//  pageSize 每页显示多少数据 固定值
    private int pageSize;
// currentPage 当前页
    private int currentPage;

    //List<T> list = new ArrayList<T>(0);
    public void setTotalCount(int totalCount){
        this.totalCount = totalCount;
    }
    public int getTotalCount(){
        return totalCount;
    }
    public void setTotalPage(int totalPage){
        this.totalPage = totalPage;
    }
    public int getTotalPage(){
        return totalPage;
    }
    public void setPageSize(int pageSize){
        this.pageSize = pageSize;
    }
    public int getPageSize(){
        return pageSize;
    }
    public void setCurrentPage(int currentPage){
        this.currentPage = currentPage;
    }
    public int getCurrentPage(){
        return currentPage;
    }

}